package com.java.gulimall.order.feign;

import com.java.gulimall.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author jl
 * Created on 2020/9/13
 */
@FeignClient("gulimall-cart")
public interface CartFeignService {

    /**
     * 获取当前用户的购物车商品项
     */
    @GetMapping("/currentUserCartItem")
    List<OrderItemVo> currentUserCartItem();
}
